﻿<UserControl x:Class="MediaSurface.MediaDetailsUserControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:s="http://schemas.microsoft.com/surface/2008"
    Height="240" Width="300">
    <Grid>

        <DockPanel LastChildFill="True">
            <StackPanel Background="Gray" Width="300" Height="40" DockPanel.Dock="Top">
                <s:SurfaceButton Name="Close_media_info_Button" Background="CornflowerBlue" Width="60"   DockPanel.Dock="Top" Click="Close_media_info_Button_Click" FontSize="14" FontWeight="Bold">X</s:SurfaceButton>
                
            </StackPanel>

            <StackPanel Name="mediaInfo"  Orientation="Vertical" Width="220" TextBlock.Foreground="Yellow" Height="200" Background="DarkGray" DockPanel.Dock="Left">

                    <StackPanel Orientation="Horizontal">
                        <Label VerticalAlignment="Center" >Title : </Label>
                        <TextBlock VerticalAlignment="Center" Name="title_textBox"  Width="200"  TextWrapping="Wrap"></TextBlock>
                    </StackPanel>


                <StackPanel Orientation="Horizontal">
                    <Label VerticalAlignment="Center" >Genre :</Label>
                    <TextBlock VerticalAlignment="Center"  Name="tag_textBox"  Width="180"  TextWrapping="Wrap"></TextBlock>
                </StackPanel>

                <StackPanel Orientation="Horizontal">
                    <Label VerticalAlignment="Center" >Description :</Label>
                    <TextBlock VerticalAlignment="Center" Name="description_textBox" Width="200"  TextWrapping="Wrap"></TextBlock>
                </StackPanel>

                <StackPanel Orientation="Horizontal">
                        <Label VerticalAlignment="Center" >Length :</Label>
                        <TextBlock Name="length_textBox" Width="200"  TextWrapping="Wrap"></TextBlock>
                        <Label VerticalAlignment="Center" >minutes</Label>
                    </StackPanel>
                    
                    <StackPanel Orientation="Horizontal">
                        <Label VerticalAlignment="Center" >Aspect Ratio :</Label>
                        <TextBlock VerticalAlignment="Center" Name="aspect_ratio_textBox"  Width="200"  TextWrapping="Wrap"></TextBlock>
                    </StackPanel>
                    
                    <StackPanel Orientation="Horizontal">
                        <Label VerticalAlignment="Center" >Uploaded By :</Label>
                        <TextBlock VerticalAlignment="Center" Name="pool_textBox" Width="200"  TextWrapping="Wrap"></TextBlock>
                    </StackPanel>
                    
                    <s:SurfaceButton Name="Play_media_Button" Background="CornflowerBlue" Width="60"   DockPanel.Dock="Right" Click="Play_media_Button_Click" FontSize="14" FontWeight="Bold">Play</s:SurfaceButton>
            
            </StackPanel>
            
            <StackPanel Name="media_Thumbnail" Background="Gray" Width="100" Height="200" DockPanel.Dock="Right">
                <Image Name="movie_thumnnail" VerticalAlignment="Top"  Height="180" ></Image>
            </StackPanel>


            

        </DockPanel>
    </Grid>
</UserControl>
